﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Addmin/JewelleryAdmin.Master" AutoEventWireup="true" CodeFile="AdminManagerUser.aspx.cs" Inherits="Addmin_AdminManagerUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
<div>
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;
                <asp:Label ID="Label1" runat="server" Text="Search By"></asp:Label>
            </td>
            <td>
                &nbsp;
                <asp:DropDownList ID="dlsearch" runat="server" style="margin-bottom: 0px" 
                    AutoPostBack="True">
                    <asp:ListItem Value="0">All</asp:ListItem>
                    <asp:ListItem Value="1">UserName</asp:ListItem>
                    <asp:ListItem Value="2">UserID</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
            <td>
              <asp:Button ID="btnFill" runat="server" Text="Fill...." onclick="btnFill_Click" />
            </td>
        </tr>
        </table>
</div>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        Width="656px" Font-Size="14px">
        <Columns>
            <asp:TemplateField HeaderText="UserId">
            <ItemTemplate>
              <a href="AddminViewUseDetails.aspx?ID=<%#Eval("UserId") %>">  <asp:Label ID="lblUserID" runat="server" Text='<%#Eval("UserId") %>'></asp:Label></a>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="UserName">
            <ItemTemplate>
                <asp:Label ID="lblUserName" runat="server" Text='<%#Eval("UserName") %>'></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="FullName">
             <ItemTemplate>
                 <asp:Label ID="lblFullName" runat="server" Text='<%#Eval("FullName") %>'></asp:Label>
             </ItemTemplate>
            </asp:TemplateField>
            

            <asp:TemplateField HeaderText="DataOfBrith">
            <ItemTemplate>
                <asp:Label ID="lblDtaOfBrith" runat="server" Text='<%#Eval("DataOfBrith") %>'></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Gender">
            <ItemTemplate>
                <asp:Label ID="lblGender" runat="server" Text='<%#Eval("Gender") %>'></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="PhoneNumber">
            <ItemTemplate>
                <asp:Label ID="lblPhoneNumber" runat="server" Text='<%#Eval("PhoneNumber") %>'></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Address">
            <ItemTemplate>
                <asp:Label ID="lblAddress" runat="server" Text='<%#Eval("Address") %>'></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Email">
            <ItemTemplate>
                <asp:Label ID="lblEmail" runat="server" Text='<%#Eval("Email") %>'></asp:Label>
            </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</div>
</asp:Content>

